<?php
	include("include/init.php");//配置文件

	$product_id = isset($_GET['ProductID']) ? $_GET['ProductID'] : 0 ;//获取订单id
	$num = isset($_GET['Number']) ? $_GET['Number'] : 0;//获取数量


	if(!$product_id){
		show_msg("请重新选择","pro_list.php");
		exit;
	}

	$order_id = new sql_class("product");

	$order = $order_id->select("product_id = $product_id")->getOne();
	/*var_dump($order);exit;*/

	$smarty->assign("order",$order);
	$smarty->assign("num",$num);
	


	$smarty->display("order.html");



?>